
import { a, addA } from './demo1.js'
import { B, addB } from './demo2.js'

var c = a + B
function addC() {
    c++
    console.log(c)
}
function reduceC() {
    c--
    console.log(c)
}

export { c, addC, reduceC }
export default a + B //可以设置一个默认值 